From: Lars Ingebrigtsen Date: Sat, 13 Jul 2019 14:34:55 +0000 (+0200) Subject: citeasnoun in reftex can take an optional parameter X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~2336 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=5b1f5b4b7d049261ca5977829314c835ba7b8bfe;p=emacs.git citeasnoun in reftex can take an optional parameter * lisp/textmodes/reftex-vars.el (reftex-cite-format-builtin): citeasnoun can take an optional parameter (bug#31476). Suggested by Konrad Podczeck. --- diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index 88ad4478b06..a9d5819f4b6 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el @@ -202,8 +202,8 @@ distribution. Mixed-case symbols are convenience aliases.") (harvard "The Harvard package" ((?\C-m . "\\cite[]{%l}") (?p . "\\cite[]{%l}") - (?t . "\\citeasnoun{%l}") - (?n . "\\citeasnoun{%l}") + (?t . "\\citeasnoun[]{%l}") + (?n . "\\citeasnoun[]{%l}") (?s . "\\possessivecite{%l}") (?e . "\\citeaffixed{%l}{?}") (?y . "\\citeyear{%l}")